package com.wenson.behavior.mediator;

/**
 * @ClassName: AdminUser
 * @Author: luowangcheng
 * @Date: 2024/6/16 10:31
 * @Description:
 */
public class AdminUser extends User {
    public AdminUser(String name) {
        super(name);
    }

    public void kick(User user){//踢出其他用户
        user.logout();
    }
}
